<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/5/11
 * Time: 23:51
 */
namespace app\np\validate;

use think\Validate;


class NpValidate extends Validate
{

    protected $rule = [
        "id"=>'number|between:1,10000000000|require|checkModel',
        "name"=>"require",
        "depart_name"=>"require",
        "user_name"=>"require",
        "dd"=>"require|array",
        "stock_id"=>"require|number|between:1,10000000000",
        "capital_money"=>"require",
        "mouths"=>"require",

    ];

    protected $message  =   [

    ];

    protected $scene = [
        "enquirysave"=>["stock_id","capital_money","mouths"]


    ];

}